package com.example.lamdba;

import com.example.Employee;
import com.example.lamdba.MyPrediccate;

public class FilterEmployeeByAge implements MyPrediccate<Employee> {
    @Override
    public boolean test(Employee o) {
        return o.getAge() > 35;
    }
}
